﻿/*----------------------------------------------------------------
//  <copyright file="IEntityEntryProvider.cs" company="MicroCloud@151504200868">
//      Copyright © 2020-2024 MicroCloud Corporation, All rights reserved.
//  </copyright>
//  <site>https://gitee.com/chenmm123/microclouds</site>
//  <last-editor>cmm</last-editor>
//  <last-date>2023-09-14 12:47</last-date>
//----------------------------------------------------------------*/

namespace MicroCloud.Events
{
    #region "实体条目事件信息提供者"
    /// <summary>
    /// 实体条目事件信息提供者
    /// </summary>
    public interface IEntityEntryProvider
    {
        #region "方法"
        #region "从指定上下文中获取实体条目"
        /// <summary>
        /// 从指定上下文中获取实体条目
        /// </summary>
        /// <param name="context">数据上下文</param>
        /// <returns>实体条目集合</returns>
        List<EntityEntry> GetEntityEntries(DbContext context);
        #endregion

        #endregion

    }
    #endregion

}
